package com.ruoyi.food.object;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * 优惠券使用记录
 * @author mengcc
 *
 */
public class TShopCouponUse {
	
	private long couponUseId;
	
	private long couponPringId;
	
	/**
	 * 活动id
	 */
	private long actId;
	
	/**
	 * 订单id
	 */
	private long orderId;
	
	/**
	 * 使用金额
	 */
	private BigDecimal usageAmount;
	
	/**
	 * 使用时间
	 */
	private Timestamp usageTime;
	
	/**
	 * 商家id
	 */
	private long shopId;
	
	/**
	 * 商品id
	 */
	private long shopItemId;
	
	/**
	 * 是否有效
	 */
	private int available;
	
	/**
	 * 公众号openId
	 */
	private String openId;

	public long getCouponUseId() {
		return couponUseId;
	}

	public void setCouponUseId(long couponUseId) {
		this.couponUseId = couponUseId;
	}

	public long getCouponPringId() {
		return couponPringId;
	}

	public void setCouponPringId(long couponPringId) {
		this.couponPringId = couponPringId;
	}

	public long getActId() {
		return actId;
	}

	public void setActId(long actId) {
		this.actId = actId;
	}

	public long getOrderId() {
		return orderId;
	}

	public void setOrderId(long orderId) {
		this.orderId = orderId;
	}

	public BigDecimal getUsageAmount() {
		return usageAmount;
	}

	public void setUsageAmount(BigDecimal usageAmount) {
		this.usageAmount = usageAmount;
	}

	public Timestamp getUsageTime() {
		return usageTime;
	}

	public void setUsageTime(Timestamp usageTime) {
		this.usageTime = usageTime;
	}

	public long getShopId() {
		return shopId;
	}

	public void setShopId(long shopId) {
		this.shopId = shopId;
	}

	public long getShopItemId() {
		return shopItemId;
	}

	public void setShopItemId(long shopItemId) {
		this.shopItemId = shopItemId;
	}

	public int getAvailable() {
		return available;
	}

	public void setAvailable(int available) {
		this.available = available;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

}
